Developer --> Technical Publications
PATH  Mac OS X Server Documentation > Mac OS X Server Release Notes


[Back]

MacOS X Server Release Notes Copyright © 1998 by Apple Computer, Inc. All Rights Reserved.

MacOS X Server Developer Release Notes:
Java APIs for the Yellow Box

The Java APIs for the core Yellow Box frameworks rest upon the foundation of Apple's Java/Objective-C integration technology (also known as the "Java Bridge"). This technology allows you to access the full potential of the Yellow Box frameworks using Java code and without having to write any Objective-C code. The bridge even allows you to subclass Objective-C objects in Java; in addition, using the bridging tools, you can wrap your own Objective-C code to make it accessible to Java applications.

In the first Developer Release, the Java APIs for the Application and Foundation frameworks were distributed in their alpha form. They have since undergone many changes and are now considerably more robust and finalized. Using these APIs, you can access virtually all of the classes and protocols that make up the Application and Foundation frameworks.

In Developer Release 2, alpha versions of the APIs were still shipping with Rhapsody (but not Yellow Box for Windows). They have now been removed.

There is a script to facilitate the conversion of application sources from the alpha APIs to the new APIs. The script does not provide complete coverage, but it will take care of most of the more straightforward cases, freeing you from some tedious conversion work. You can find the script and instructions on how to use it in /System/Developer/Java/Conversion/AlphaToYellow. Be sure to make a copy of your source directory before you apply the conversion, as the script works in place. Once you have run the scripts, trying to compile your program should pinpoint the remaining areas where conversion is still needed.

Note: On Yellow Box for Windows systems, whenever installed Rhapsody directories and files are referenced in this release note, substitute the Yellow Box for Windows installation directory for /System. For example, in the above example, substitute installed_dir/Developer/Java/Conversion/AlphaToYellow for /System/Developer/Java/Conversion/AlphaToYellow.

 

 

Changes Since Developer Release 2

Changes Since Developer Release 1

 

Other Notes